package cn.iocoder.yudao.module.system.controller.admin.zkdata.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 数据纪录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ZkDataRespVO {

    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14087")
    @ExcelProperty("角色ID")
    private Long id;

    @Schema(description = "包长度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("包长度")
    private Integer packetLength;

    @Schema(description = "接收方", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("接收方")
    private String dataReceiver;

    @Schema(description = "发送方", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发送方")
    private String dataSender;

    @Schema(description = "数据类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("数据类型")
    private Integer dataType;

    @Schema(description = "包序列号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("包序列号")
    private Integer dataSeq;

    @Schema(description = "数据长度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("数据长度")
    private Integer dataLength;

    @Schema(description = "数据载荷", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("数据载荷")
    private String dataPayload;

    @Schema(description = "原始数据", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("原始数据")
    private String oriData;

    @Schema(description = "转发状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("转发状态")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}